package hunan.cxb18.dao;

import hunan.cxb18.pojo.User;

import java.util.ArrayList;
import java.util.List;

/**
 * @author chenheng
 * @create 2020-02-21 19:13
 */
public class UserDao implements UserDaoImpl{
    @Override
    public List<User> queryAll() {
        List<User> users = new ArrayList<>();
        users.add(new User(1001,"xiaoming"));
        users.add(new User(1002,"huangbo"));
        users.add(new User(1003,"lihua"));
        return users;
    }
}
